﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YXShop.Model.Product
{
    public class ProductType
    {
        #region "member variant"
        private int _id;
		private string _typename;
		private string _typealiasname=string.Empty;
		private int _isentityproduct;
        private string _relevancebrand = string.Empty;
        private string _properytablename = string.Empty;
        private string _parametertablename = string.Empty;
        private string _buyoptionsettablename = string.Empty;
		private DateTime _updatetime;
        #endregion

        #region "Constructor"
        /// <summary>
        /// 构造一个空的新的数据访问对象
        /// </summary>
        /// <remarks></remarks>
        public ProductType()
        {
        }
        #endregion

        #region "Property"
        /// <summary>
        /// 与数据库基本列Id相对应的公共属性, Caption:Id
		/// </summary>
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
        /// 与数据库基本列TypeName相对应的公共属性, Caption:类型别名
		/// </summary>
		public string TypeName
		{
			set{ _typename=value;}
			get{return _typename;}
		}
		/// <summary>
        /// 与数据库基本列TypeAliasName相对应的公共属性, Caption:类型别名
		/// </summary>
		public string TypeAliasName
		{
			set{ _typealiasname=value;}
			get{return _typealiasname;}
		}
		/// <summary>
        /// 与数据库基本列IsEntityProduct相对应的公共属性, Caption:是否关联实体商品
		/// </summary>
		public int IsEntityProduct
		{
			set{ _isentityproduct=value;}
			get{return _isentityproduct;}
		}
		/// <summary>
        /// 与数据库基本列RelevanceBrand相对应的公共属性, Caption:关联品牌
		/// </summary>
		public string RelevanceBrand
		{
			set{ _relevancebrand=value;}
			get{return _relevancebrand;}
		}
		/// <summary>
        /// 与数据库基本列ProperyTableName相对应的公共属性, Caption:属性表名
		/// </summary>
		public string ProperyTableName
		{
			set{ _properytablename=value;}
			get{return _properytablename;}
		}
		/// <summary>
        /// 与数据库基本列ParameterTableName相对应的公共属性, Caption:参数表名
		/// </summary>
		public string ParameterTableName
		{
			set{ _parametertablename=value;}
			get{return _parametertablename;}
		}
		/// <summary>
        /// 与数据库基本列BuyOptionSetTableName相对应的公共属性, Caption:购买表名
		/// </summary>
		public string BuyOptionSetTableName
		{
			set{ _buyoptionsettablename=value;}
			get{return _buyoptionsettablename;}
		}
		/// <summary>
        /// 与数据库基本列UpdateTime相对应的公共属性, Caption:更新时间
		/// </summary>
		public DateTime UpdateTime
		{
			set{ _updatetime=value;}
			get{return _updatetime;}
		}
		#endregion
    }
}
